package com.donn.securitycontrolplatform.userwhitelist.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 用户信息表
 * </p>
 *
 * @author zhenglixiang
 * @since 2022-06-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "TUser对象", description = "用户信息表")
public class TUserWhiteList implements Serializable {

    public static final String USER_ID = "user_id";
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;


    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "大华用户id")
    private Long personId;

    @ApiModelProperty(value = "大华白名单人像库id")
    private Long groupId;

    @ApiModelProperty(value = "人员卡号")
    private String cardNumber;


    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

}
